home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 August: Tool Chest / Dev.CD Aug 94.toast / Tool Chest / Development Platforms / Macintosh Common Lisp Related / User Contributions / oodles-of-utils.sea / oodles-of-utils / dialog-items / 3D-text-button-di.lisp < prev    next >
MacBinary  |  1992-01-22  |  2.6 KB  |  [TEXT/CCL2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Wed Jan 22 17:41:39 1992, modified Wed Jan 22 17:41:39 1992, creator Common Lisp 2, type ASCII, 1980 bytes "3D-text-button-di.lisp" , at 0x83c 442 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CCL2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 16 33 44 2d 74 65 78 | 74 2d 62 75 74 74 6f 6e |..3D-tex|t-button|
|00000010| 2d 64 69 2e 6c 69 73 70 | 00 00 00 00 00 00 00 00 |-di.lisp|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 43 4c | 32 01 00 00 00 00 00 00 |.TEXTCCL|2.......|
|00000050| 00 00 00 00 00 07 bc 00 | 00 01 ba a5 a3 a3 a3 a5 |........|........|
|00000060| a3 a3 a3 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 ca 27 00 00 |........|.....'..|
|00000080| 28 69 6e 2d 70 61 63 6b | 61 67 65 20 3a 6f 6f 75 |(in-pack|age :oou|
|00000090| 29 0d 28 6f 6f 75 2d 70 | 72 6f 76 69 64 65 20 3a |).(oou-p|rovide :|
|000000a0| 33 44 2d 74 65 78 74 2d | 62 75 74 74 6f 6e 2d 64 |3D-text-|button-d|
|000000b0| 69 29 0d 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |i).;;;;;|;;;;;;;;|
|000000c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000e0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000f0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 0d 3b 3b 20 33 44 2d |;;;;;;;;|;.;; 3D-|
|00000100| 74 65 78 74 2d 62 75 74 | 74 6f 6e 2d 64 69 2e 4c |text-but|ton-di.L|
|00000110| 69 73 70 0d 3b 3b 0d 3b | 3b 20 43 6f 70 79 72 69 |isp.;;.;|; Copyri|
|00000120| 67 68 74 20 a9 20 31 39 | 39 31 20 4e 6f 72 74 68 |ght . 19|91 North|
|00000130| 77 65 73 74 65 72 6e 20 | 55 6e 69 76 65 72 73 69 |western |Universi|
|00000140| 74 79 20 49 6e 73 74 69 | 74 75 74 65 20 66 6f 72 |ty Insti|tute for|
|00000150| 20 74 68 65 20 4c 65 61 | 72 6e 69 6e 67 20 53 63 | the Lea|rning Sc|
|00000160| 69 65 6e 63 65 73 0d 3b | 3b 20 41 6c 6c 20 52 69 |iences.;|; All Ri|
|00000170| 67 68 74 73 20 52 65 73 | 65 72 76 65 64 0d 3b 3b |ghts Res|erved.;;|
|00000180| 0d 3b 3b 20 61 75 74 68 | 6f 72 3a 20 4d 69 63 68 |.;; auth|or: Mich|
|00000190| 61 65 6c 20 53 2e 20 45 | 6e 67 62 65 72 0d 3b 3b |ael S. E|ngber.;;|
|000001a0| 0d 3b 3b 20 41 20 72 65 | 63 74 61 6e 67 75 6c 61 |.;; A re|ctangula|
|000001b0| 72 20 74 65 78 74 20 62 | 75 74 74 6f 6e 20 77 69 |r text b|utton wi|
|000001c0| 74 68 20 61 20 33 44 20 | 6c 6f 6f 6b 0d 3b 3b 3b |th a 3D |look.;;;|
|000001d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001e0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001f0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000200| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000210| 3b 3b 3b 0d 0d 28 6f 6f | 75 2d 64 65 70 65 6e 64 |;;;..(oo|u-depend|
|00000220| 65 6e 63 69 65 73 0d 20 | 3a 64 69 73 61 62 6c 65 |encies. |:disable|
|00000230| 2d 64 69 6d 0d 20 3a 62 | 75 74 74 6f 6e 2d 64 69 |-dim. :b|utton-di|
|00000240| 6d 0d 20 3a 66 72 61 6d | 65 2d 33 44 2d 73 76 6d |m. :fram|e-3D-svm|
|00000250| 0d 20 3a 73 74 61 74 69 | 63 2d 74 65 78 74 2d 64 |. :stati|c-text-d|
|00000260| 69 29 0d 0d 28 65 78 70 | 6f 72 74 20 27 28 33 44 |i)..(exp|ort '(3D|
|00000270| 2d 74 65 78 74 2d 62 75 | 74 74 6f 6e 2d 64 69 29 |-text-bu|tton-di)|
|00000280| 29 0d 0d 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |)..;;;;;|;;;;;;;;|
|00000290| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000002a0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000002b0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000002c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 0d 0d 28 64 65 66 63 |;;;;;;;;|;..(defc|
|000002d0| 6c 61 73 73 20 33 44 2d | 74 65 78 74 2d 62 75 74 |lass 3D-|text-but|
|000002e0| 74 6f 6e 2d 64 69 20 28 | 64 69 73 61 62 6c 65 2d |ton-di (|disable-|
|000002f0| 64 69 6d 20 62 75 74 74 | 6f 6e 2d 64 69 6d 20 66 |dim butt|on-dim f|
|00000300| 72 61 6d 65 2d 33 44 2d | 73 76 6d 20 73 74 61 74 |rame-3D-|svm stat|
|00000310| 69 63 2d 74 65 78 74 2d | 64 69 29 20 28 29 29 0d |ic-text-|di) ()).|
|00000320| 0d 28 64 65 66 6d 65 74 | 68 6f 64 20 74 65 78 74 |.(defmet|hod text|
|00000330| 2d 6d 61 72 67 69 6e 73 | 20 28 28 64 69 20 33 44 |-margins| ((di 3D|
|00000340| 2d 74 65 78 74 2d 62 75 | 74 74 6f 6e 2d 64 69 29 |-text-bu|tton-di)|
|00000350| 29 0d 20 20 28 6d 75 6c | 74 69 70 6c 65 2d 76 61 |). (mul|tiple-va|
|00000360| 6c 75 65 2d 62 69 6e 64 | 20 28 74 6c 2d 6d 61 72 |lue-bind| (tl-mar|
|00000370| 67 69 6e 20 62 72 2d 6d | 61 72 67 69 6e 29 20 28 |gin br-m|argin) (|
|00000380| 63 61 6c 6c 2d 6e 65 78 | 74 2d 6d 65 74 68 6f 64 |call-nex|t-method|
|00000390| 29 0d 20 20 20 20 28 6c | 65 74 20 28 28 70 20 28 |). (l|et ((p (|
|000003a0| 6d 61 6b 65 2d 70 6f 69 | 6e 74 20 28 66 72 61 6d |make-poi|nt (fram|
|000003b0| 65 2d 77 69 64 74 68 20 | 64 69 29 20 28 66 72 61 |e-width |di) (fra|
|000003c0| 6d 65 2d 77 69 64 74 68 | 20 64 69 29 29 29 29 0d |me-width| di)))).|
|000003d0| 20 20 20 20 20 20 28 76 | 61 6c 75 65 73 20 28 61 | (v|alues (a|
|000003e0| 64 64 2d 70 6f 69 6e 74 | 73 20 74 6c 2d 6d 61 72 |dd-point|s tl-mar|
|000003f0| 67 69 6e 20 70 29 20 28 | 61 64 64 2d 70 6f 69 6e |gin p) (|add-poin|
|00000400| 74 73 20 62 72 2d 6d 61 | 72 67 69 6e 20 70 29 29 |ts br-ma|rgin p))|
|00000410| 29 29 29 0d 0d 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |)))..;;;|;;;;;;;;|
|00000420| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000430| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000440| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000450| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 0d 0d 23 7c 0d |;;;;;;;;|;;;..#|.|
|00000460| 0d 3b 3b 3b 20 61 20 6d | 6f 64 65 73 74 20 65 78 |.;;; a m|odest ex|
|00000470| 61 6d 70 6c 65 0d 0d 28 | 70 72 6f 67 6e 0d 20 20 |ample..(|progn. |
|00000480| 28 73 65 74 66 20 2a 74 | 65 73 74 2d 77 2a 0d 20 |(setf *t|est-w*. |
|00000490| 20 20 20 20 20 20 20 28 | 6d 61 6b 65 2d 69 6e 73 | (|make-ins|
|000004a0| 74 61 6e 63 65 20 27 64 | 69 61 6c 6f 67 0d 20 20 |tance 'd|ialog. |
|000004b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000004c0| 20 20 20 20 20 3a 77 69 | 6e 64 6f 77 2d 74 79 70 | :wi|ndow-typ|
|000004d0| 65 20 3a 64 6f 63 75 6d | 65 6e 74 0d 20 20 20 20 |e :docum|ent. |
|000004e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000004f0| 20 20 20 3a 76 69 65 77 | 2d 70 6f 73 69 74 69 6f | :view|-positio|
|00000500| 6e 20 3a 63 65 6e 74 65 | 72 65 64 0d 20 20 20 20 |n :cente|red. |
|00000510| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000520| 20 20 20 3a 76 69 65 77 | 2d 73 69 7a 65 20 23 40 | :view|-size #@|
|00000530| 28 32 30 30 20 31 30 30 | 29 0d 20 20 20 20 20 20 |(200 100|). |
|00000540| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000550| 20 3a 77 69 6e 64 6f 77 | 2d 74 69 74 6c 65 20 22 | :window|-title "|
|00000560| 72 65 63 74 2d 62 75 74 | 74 6f 6e 2d 64 69 6d 20 |rect-but|ton-dim |
|00000570| 64 65 6d 6f 22 0d 20 20 | 20 20 20 20 20 20 20 20 |demo". | |
|00000580| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 29 29 0d | | )).|
|00000590| 20 20 28 77 69 74 68 2d | 66 6f 63 75 73 65 64 2d | (with-|focused-|
|000005a0| 76 69 65 77 20 2a 74 65 | 73 74 2d 77 2a 20 28 23 |view *te|st-w* (#|
|000005b0| 5f 42 61 63 6b 50 61 74 | 20 2a 67 72 61 79 2d 70 |_BackPat| *gray-p|
|000005c0| 61 74 74 65 72 6e 2a 29 | 29 0d 20 20 28 69 6e 76 |attern*)|). (inv|
|000005d0| 61 6c 69 64 61 74 65 2d | 76 69 65 77 20 2a 74 65 |alidate-|view *te|
|000005e0| 73 74 2d 77 2a 20 74 29 | 0d 20 20 28 61 64 64 2d |st-w* t)|. (add-|
|000005f0| 73 75 62 76 69 65 77 73 | 20 2a 74 65 73 74 2d 77 |subviews| *test-w|
|00000600| 2a 20 28 6d 61 6b 65 2d | 64 69 61 6c 6f 67 2d 69 |* (make-|dialog-i|
|00000610| 74 65 6d 20 27 33 44 2d | 74 65 78 74 2d 62 75 74 |tem '3D-|text-but|
|00000620| 74 6f 6e 2d 64 69 0d 20 | 20 20 20 20 20 20 20 20 |ton-di. | |
|00000630| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000640| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000650| 20 20 23 40 28 32 30 20 | 32 30 29 0d 20 20 20 20 | #@(20 |20). |
|00000660| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000670| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000680| 20 20 20 20 20 20 20 23 | 40 28 31 36 33 20 33 30 | #|@(163 30|
|00000690| 29 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |). | |
|000006a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000006b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 22 61 77 | | "aw|
|000006c0| 65 73 6f 6d 65 20 33 44 | 20 62 75 74 74 6f 6e 22 |esome 3D| button"|
|000006d0| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000006e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000006f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 23 27 28 6c | | #'(l|
|00000700| 61 6d 62 64 61 20 28 69 | 74 65 6d 29 20 28 64 65 |ambda (i|tem) (de|
|00000710| 63 6c 61 72 65 20 28 69 | 67 6e 6f 72 65 20 69 74 |clare (i|gnore it|
|00000720| 65 6d 29 29 20 28 65 64 | 2d 62 65 65 70 29 29 0d |em)) (ed|-beep)).|
|00000730| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000740| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000750| 20 20 20 20 20 20 20 20 | 20 20 20 3a 76 69 65 77 | | :view|
|00000760| 2d 6e 69 63 6b 2d 6e 61 | 6d 65 20 3a 62 75 74 74 |-nick-na|me :butt|
|00000770| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00000780| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000790| 20 20 20 20 20 20 20 20 | 20 20 20 20 29 29 29 0d | | ))).|
|000007a0| 0d 3b 28 73 65 74 66 20 | 28 6a 75 73 74 20 28 76 |.;(setf |(just (v|
|000007b0| 69 65 77 2d 6e 61 6d 65 | 64 20 3a 62 75 74 74 20 |iew-name|d :butt |
|000007c0| 2a 74 65 73 74 2d 77 2a | 29 29 20 3a 6c 65 66 74 |*test-w*|)) :left|
|000007d0| 29 0d 3b 28 73 65 74 66 | 20 28 66 72 61 6d 65 2d |).;(setf| (frame-|
|000007e0| 77 69 64 74 68 20 28 76 | 69 65 77 2d 6e 61 6d 65 |width (v|iew-name|
|000007f0| 64 20 3a 62 75 74 74 20 | 2a 74 65 73 74 2d 77 2a |d :butt |*test-w*|
|00000800| 29 29 20 36 29 0d 3b 28 | 64 69 61 6c 6f 67 2d 69 |)) 6).;(|dialog-i|
|00000810| 74 65 6d 2d 64 69 73 61 | 62 6c 65 20 28 76 69 65 |tem-disa|ble (vie|
|00000820| 77 2d 6e 61 6d 65 64 20 | 3a 62 75 74 74 20 2a 74 |w-named |:butt *t|
|00000830| 65 73 74 2d 77 2a 29 29 | 0d 0d 7c 23 00 00 00 00 |est-w*))|..|#....|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000880| 00 00 01 00 00 00 01 68 | 00 00 00 68 00 00 00 52 |.......h|...h...R|
|00000890| 3b 3b 3b 3b 3b 3b 3b 3b | 3b e2 0f 0d 03 00 01 12 |;;;;;;;;|;.......|
|000008a0| 50 41 54 48 4e 41 4d 45 | 2d 44 49 52 45 43 54 4f |PATHNAME|-DIRECTO|
|000008b0| 16 33 44 2d 74 65 78 74 | 2d 62 75 74 74 6f 6e 2d |.3D-text|-button-|
|000008c0| 64 69 2e 6c 69 73 70 62 | 02 00 00 00 54 45 58 54 |di.lispb|....TEXT|
|000008d0| 00 00 54 45 58 54 43 43 | 4c 32 01 00 00 14 00 00 |..TEXTCC|L2......|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 a4 ac 73 cf 00 00 | 07 bc 00 00 01 ba 17 45 |....s...|.......E|
|00000900| 44 2d 49 4e 53 45 52 54 | 2d 44 4f 55 42 4c 45 2d |D-INSERT|-DOUBLE-|
|00000910| 51 55 4f 54 45 53 07 00 | 01 5b b1 0f 0c 15 41 44 |QUOTES..|.[....AD|
|00000920| 44 2d 54 4f 2d 4b 49 4c | 4c 45 44 2d 53 54 52 49 |D-TO-KIL|LED-STRI|
|00000930| 4e 47 53 0a 11 3e 0f 0d | 03 00 01 0c 41 44 4a 55 |NGS..>..|....ADJU|
|00000940| 53 54 2d 41 52 52 41 59 | 0a 13 ff 0f 0d 03 00 01 |ST-ARRAY|........|
|00000950| 08 44 45 53 43 52 49 42 | 45 07 00 01 1c 91 0f 0c |.DESCRIB|E.......|
|00000960| 0e 44 49 53 50 4f 53 45 | 2d 52 45 43 4f 52 44 07 |.DISPOSE|-RECORD.|
|00000970| 00 01 2b d9 0f 0c 04 4c | 49 4e 45 07 00 02 3d 9f |..+....L|INE...=.|
|00000980| 00 00 00 0a 00 01 00 16 | 0a 00 01 00 00 00 00 00 |........|........|
|00000990| 00 48 00 0a 43 6f 75 72 | 69 65 72 00 00 00 00 00 |.H..Cour|ier.....|
|000009a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009b0| 00 00 00 00 00 06 00 08 | 00 87 00 2c 02 a2 02 c1 |........|...,....|
|000009c0| 00 87 00 2c 02 a2 02 c1 | 00 00 00 00 00 00 02 02 |...,....|........|
|000009d0| 00 00 02 02 00 00 00 00 | 01 00 00 00 00 0a 00 00 |........|........|
|000009e0| 07 43 6f 75 72 69 65 72 | 00 00 01 00 00 00 01 68 |.Courier|.......h|
|000009f0| 00 00 00 68 00 00 00 52 | 00 f0 c5 d4 09 ec 00 00 |...h...R|........|
|00000a00| 00 1c 00 52 00 01 46 52 | 45 44 00 01 00 12 4d 50 |...R..FR|ED....MP|
|00000a10| 53 52 00 00 00 2a 00 02 | ff ff 00 00 00 00 00 00 |SR...*..|........|
|00000a20| 00 00 00 03 ff ff 00 00 | 00 5a 00 00 00 00 03 ed |........|.Z......|
|00000a30| ff ff 00 00 00 0e 00 f1 | b3 00 00 00 00 00 00 00 |........|........|
|00000a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+